package com.zhang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhang.entity.Menu;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author Zhang
 * @since 2022-03-02
 */
public interface MenuMapper extends BaseMapper<Menu> {

    /**
     * 根据菜单的id查询菜单信息
     * @param menuId
     * @return
     */
    Menu selectByPrimaryKey(Long menuId);
}
